package com.hezhi.trafficcopsys.persistence.dao;

import java.util.List;

import com.hezhi.framework.dao.BaseDao;
import com.hezhi.trafficcopsys.domain.User;

public interface UserDao extends BaseDao{

	public abstract int addUser( User user );

	public abstract int delUser(String[] usernames);

	public abstract User getUser(String username);
	
	public abstract int editUser( User user );

	public abstract List<User> getAllUser();
	
	public abstract List<User> listUserByPage(int pageSize, int pageNo);
	
	public int getTotalSize();
	
}